---
title: ServerErrorAction: 500 Undefined class constant 'VERSION'
author: notabug.org/aab
time: Tue, 03 Sep 2019 09:22:06 UTC
status: closed
---

author: notabug.org
time: Tue, 03 Sep 2019 09:22:06 UTC
content: -----
HEAD is in 9aaf5e2cca [aab] This appears every few minutes: <code>GET /api/nodeinfo/2.0.json] ServerErrorAction: 500 Undefined class constant 'VERSION' GET /api/nodeinfo/2.0.json] Handled serverError (500) but cannot output into desired format (NULL): 'Undefined class constant \'VERSION\''</code>
-----

author: notabug.org
time: Tue, 03 Sep 2019 15:31:46 UTC
content: -----
Hi, I have this message in logs. Hope it helps. ```` FastCGI sent in stderr: "PHP message: PHP Fatal error: Cannot redeclare mail_notify_group_join_pending() (previously declared in /var/www/gnusocial2/lib/mail.php:798) in /var/www/gnusocial2/lib/util/mail.php on line 798" while reading upstream, client: ..., server: ratoncitos.p4g.club, request: "GET /ziggys/all HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.3-fpm-social.sock:", host: "ratoncitos.p4g.club", referrer: "https://ratoncitos.p4g.club/main/version" ````
-----

author: notabug.org
time: Tue, 03 Sep 2019 19:51:46 UTC
content: -----
This is a duplicate of https://notabug.org/diogo/gnu-social/issues/66 This bug is not related to Nodeinfo. It seems @biodantas might have an idea of what is causing it tho.
-----
